package cn.young.javalearning.designpattern.proxypattern.staticproxy;

import cn.young.javalearning.designpattern.proxypattern.GuKe;
import cn.young.javalearning.designpattern.proxypattern.Shopping;

/**
 * 外卖小哥
 */
public class WaiMaiXiaoGe implements Shopping {

    @Override
    public void shopping() {
        System.out.println("外卖小哥去超市。");
        new GuKe().shopping();
        System.out.println("把买到的东西送到顾客手上！！！");
    }
}
